import React from 'react';
import '../scss/fp/notfound.scss'
import notfound from "../images/404.jpg";
import { useNavigate } from 'react-router-dom';

function Notfound(props) {

    var push = useNavigate();
    const goLogin = () => {
       //-----🍌---🍌---🍌-----
       push('/login')  
    }
    return (
        <>
        <div className='notfound'>
            <img src={ notfound } alt="" />
        </div>
            <div className="BOX">
                <a href="" onClick={ goLogin }>这是一个链接</a>
            </div>
        </>
    );
}

export default Notfound;